package com.example.oasystem.entity.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.example.oasystem.entity.attend.AoaAttendsList;
import com.example.oasystem.entity.dept.AoaDept;
import com.example.oasystem.entity.position.AoaPosition;
import com.example.oasystem.entity.role.AoaRole;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * aoa_user
 * @author 
 */
@Data
public class AoaUser implements Serializable {
    @TableId(value = "user_id",type = IdType.AUTO)
    private Long userId;

    private String address;

    private String bank;

    private String birth;

    private String eamil;

    private Long fatherId;

    private String hireTime;

    private String userIdcard;

    private String imgPath;

    private Integer isLock;

    private String lastLoginIp;

    private Date lastLoginTime;

    private Date modifyTime;

    private Long modifyUserId;

    private String password;

    private String realName;

    private Double salary;

    private String userSchool;

    private String sex;

    private String themeSkin;

    private String userEdu;

    private String userName;

    private String userSign;

    private String userTel;

    private Long deptId;

    private Long positionId;

    private Long roleId;

    private Integer superman;

    private Integer holiday;

    private String pinyin;

    @TableField(exist = false)
    private AoaDept aoaDept;

    @TableField(exist = false)
    private AoaRole aoaRole;

    @TableField(exist = false)
    private AoaPosition aoaPosition;

    @TableField(exist = false)
    private String password1;

    @TableField(exist = false)
    private String ip;

    @TableField(exist = false)
    private String browser;

    @TableField(exist = false)
    private List<AoaAttendsList> aSet;

    @TableField(exist = false)
    private String typeName;

    private static final long serialVersionUID = 1L;
}